package com.Design.SinglePattern;

public class LazySingle {
    private static volatile LazySingle instanse = null;

    private LazySingle(){};

    public static synchronized  LazySingle getInstance(){
        if(instanse==null){
           instanse = new LazySingle();
        }
        return instanse;
    }
}
